Microsoft DirectX 8.1 (C++)

IAMLine21Decoder::GetServiceState

The GetServiceState method retrieves the closed captioning service state (on or off).

Syntax

HRESULT GetServiceState(
  AM_LINE21_CCSTATE *lpState
);

Parameters

lpState

Pointer to the retrieved state. Supported state values are AM_L21_CCSTATE_On and AM_L21_CCSTATE_Off. Closed-captioned text is off by default.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The current DirectShow implementation returns E_INVALIDARG if a parameter is invalid or NOERROR to indicate success.

See Also